package com.ruoyi.app.domain.reward;

import java.math.BigDecimal;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 作用：员工奖惩信息
 * </p>
 *
 * @author Zane
 * @since 2025-10-26 20:25
 */
@Getter
@Setter
@Accessors(chain = true)
public class LaborReward {

  /**
   * 溯源ID,(点击奖惩按钮的行ID)
   */
  @NotNull(message = "溯源ID不能为空")
  private Long traceId;

  /**
   * 金额
   */
  @NotNull(message = "金额不能为空")
  private BigDecimal amount;

  /**
   * 奖惩类型 "JL" 奖励 "CF" 处罚
   */
  @NotBlank(message = "奖惩类型不能为空")
  private String changeType;
  /**
   * 备注
   */
  @NotBlank(message = "备注不能为空")
  private String comment;
}
